package com.ww.aiinterviewer.service;

import com.ww.aiinterviewer.model.vo.ChatVO;
import com.ww.aiinterviewer.model.vo.ChatRoomVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 面试服务
 * @author wangwang
 * @create 2025/5/9 16:57
 */
public interface ChatService {
    /**
     * 和 AI 对话
     * @param roomId 面试房间id
     * @param message 用户输入消息
     * @param request 请求头
     * @author wangwang
     * @date 2025/5/9
     */
    String doChat(long roomId, String message, HttpServletRequest request);

    /**
     * 获取面试房间列表
     * @author wangwang
     * @date 2025/5/9
     */
    List<ChatRoomVO> getChatRoomList(HttpServletRequest httpServletRequest);
}
